package com.chendx.model.customer.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * Created by chendx on 2022/4/29.
 */
@TableName(value = "tb_customer_user")
@Data
public class CustomerUser {


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;//

    @TableField(value = "customer_id")
    private Integer customerId;//

    @TableField(value = "user_id")
    private Integer userId;//

    @TableField(value = "username")
    private String username;

    @TableField(value = "created_time")
    private Date createdTime;

    @TableField(value = "headpic")
    private String headpic;

}
